class TicketMachine {
    public:
    TicketMachine();
    virtual ~TicketMachine();
    void showPrompt();
    void showBalance();
    void insertMoney(int money);
    void printTicket();

    private:
    const int PRICE;
    int balance;
    int total;
};